<?php

class Core_Form_Admincp_Storage_Local extends Nuo_Form
{
	function init()
	{
		$this -> setTitle('Local Storage System');

		$this -> setDesc('form-desc.Local Storage System');

		$this -> addChild('text', 'basePath', array(
			'label' => 'Base Path',
			'desc' => 'form-desc.Storage Base Path',
		));

		$this -> addChild('text', 'baseUrl', array(
			'label' => 'Base Url',
			'desc' => 'form-desc.Storage Base Url',
		));

		$this -> addChild('yesno', 'is_storable', array(
			'label' => 'Is Enabled',
			'desc' => 'form-desc.Storage Local Is Enabled',
		));

		$this -> addChild('yesno', 'is_default', array(
			'label' => 'Default',
			'desc' => 'form-desc.Storage Local Is Default',
		));

		$this -> addChild('group', '_footer');

		$this -> _footer -> addChild('submit', '_submit') -> addChild('cancel', '_cancel');

	}

}
